netif
List the network interfaces on the system.
Example usage:
license
ISC, see the LICENSE file.
List the network interfaces on the system.
Example usage:
fn main() {
for ifa in netif::up().unwrap() {
if !ifa.address().is_loopback() {
println!("{:?}", ifa);
}
}
}
ISC, see the LICENSE file.